//
//  Office2LabelTableViewCell.swift
//  EduManage
//
//  Created by design02 on 16/12/19.
//  Copyright © 2016年 wsl. All rights reserved.
//

import UIKit

class Office2LabelTableViewCell: UITableViewCell {

    
    var firstLabel, secondLabel, thirdLabel, fourthLabel: UILabel!
    
    override init(style: UITableViewCellStyle, reuseIdentifier: String?) {
        super.init(style: style, reuseIdentifier: reuseIdentifier)
        
        self.backgroundColor = UIColor.white
        setupLabels()
    }
    
    
    func setupLabels() {
        
        firstLabel = UILabel.init(frame: CGRect(x:20, y: 0, width: screenW*3/4, height: 60))
        firstLabel.font = UIFont.systemFont(ofSize: 16)
        firstLabel.textAlignment = NSTextAlignment.left
        firstLabel.textColor = UIColor.darkText
        
        secondLabel = UILabel.init(frame: CGRect(x: screenW*3/4, y: 0,width: screenW*1/4, height: 60))
        secondLabel.font = UIFont.systemFont(ofSize: 16)
        secondLabel.textAlignment = NSTextAlignment.left
        secondLabel.textColor = UIColor.darkText

        self.contentView.addSubview(firstLabel)
        self.contentView.addSubview(secondLabel)
        
        
    }
    
    
    required init?(coder aDecoder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
    }
    
    
    override func awakeFromNib() {
        super.awakeFromNib()
        // Initialization code
    }

    override func setSelected(_ selected: Bool, animated: Bool) {
        super.setSelected(selected, animated: animated)

        // Configure the view for the selected state
    }

}
